<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>华猫商城</title>
		<style></style>
		<link href="../css/jquery.validator.css" rel="stylesheet">
		<link href="../css/common.css" rel="stylesheet">
		<!--<link href="../css/carousel.css" rel="stylesheet">-->
		<!--<link href="../css/right_cart.css" rel="stylesheet">-->
		<link href="../css/base.css" rel="stylesheet">
		<link href="../css/register.css" rel="stylesheet">
		<style>
			
		</style>
	</head>

	<body>
		<div id="header"></div>
		<div class="ZZHT-lite-container">
			<div class="ZZHT-logo">
				<a href="index.html" title="华猫商城">
					<img src="../images/index/logo.png" title="华猫商城" alt="华猫商城" height="60">
				</a>
			</div>
		</div>
		<div class="ZZHT-regist-b">
			<div class="ZZHT-container">
				<div class="ZZHT-regist">
					<div class="register-header bz">
						<h3 class="bz">注册用户账号</h3>
					</div>
					<div class="ZZHT-regist-c bz">
						<input type="hidden" id="nameType" class="ZZHT_ipt nameType" value="2" autocomplete="off">
						<form id="reg_form" method="post" autocomplete="off" style="margin-left:170px;" class="nice-validator n-default" novalidate="novalidate">
							<div class="ZZHT-table" style="margin-top:0px;">
								<div class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">用户名</div>
									<div class="fl"><input id="loginName" name="loginName" class="ipt ZZHT-regist-input" placeholder="请输入字母，数字或者汉字" type="text" aria-required="true"></div>
								</div>
								<div class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">手机号</div>
									<div class="fl"><input id="userPhone" name="userPhone" class="ipt ZZHT-regist-input" maxlength="11" autocomplete="off" onpaste="return false;" style="ime-mode:disabled;" placeholder="请输入手机号" type="text" onkeyup="javascript:ZZHT.isChinese(this,1)" aria-required="true"></div>
								</div>
								<div id="authCodeDiv" class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">验证码</div>
									<div class="fl">
										<div class="ZZHT-regist-codeImg clearfix" style="width:400px;">
											<input id="verifyCode" style="ime-mode:disabled" name="verifyCode" class="ZZHT_ipt ZZHT-regist-codein fl" tabindex="6" autocomplete="off" maxlength="6" type="text" data-target="#verifyCodeTips" placeholder="请输入验证码" aria-required="true">
											<!--<img id="v_container" src="../img/66aa592a524fbb0b26c5cf2222b966f4-1.png" onclick="javascript:ZZHT.getVerify(&quot;#verifyImg&quot;)" style="width:78px;height:38px;margin-left:20px;margin-top:1px;">-->
											<div id="v_container" style="width: 100px;height: 40px;"></div>
											<label><a style="display:inline-block;position:relative;top:9px;margin-left:30px;" href="javascript:verifyCode.refresh();"><img src="../images/icon_fresh.png" alt=""></a></label>
											<span id="verifyCodeTips"></span>
										</div>
									</div>
								</div>
								<div class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">短信验证码</div>
									<div class="fl">
										<div class="ZZHT-regist-code clearfix" style="width:400px;">
											<input maxlength="6" autocomplete="off" tabindex="6" class="ZZHT-regist-codemo fl" name="code" style="ime-mode:disabled" id="code" type="text" data-target="#mobileCodeTips" placeholder="请输入短信验证码" aria-required="true">
											<span id="timeTips" onclick="registerPhoneVerify();" class="ZZHT-regist-obtain fr phoneCode">获取验证码</span>
											<span id="mobileCodeTips" style="position:relative;float:right;right:-100px;"></span>
										</div>
									</div>
								</div>
								<div class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">分享人</div>
									<div class="fl"><input id="checkData" name="checkData" value="" class="ZZHT-regist-input" maxlength="11" autocomplete="off" style="ime-mode:disabled;" placeholder="请输入分享人手机号或用户名" type="text"></div>
								</div>
								<div class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">核实分享人信息</div>
									<div class="fl"><input id="standardShareMan" name="standardShareMan" value="" class="ZZHT-regist-input" maxlength="11" autocomplete="off" style="ime-mode:disabled;" placeholder="请输入核实分享人信息" type="text" disabled="" onkeyup="javascript:ZZHT.isChinese(this,1)"></div>
								</div>
								<div class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">设置密码</div>
									<div class="fl">
										<input type="password" id="loginPwd" name="loginPwd" class="ipt ZZHT-regist-input" tabindex="2" style="ime-mode:disabled;" autocomplete="off" onfocus="this.type='password'" placeholder="密码必须为6-20位数字、字母或下划线" aria-required="true">
									</div>
								</div>
								<div class="ZZHT-login-tr clearfix">
									<div class="ZZHT-regist-td fl">确认密码</div>
									<div class="fl">
										<input id="password_confirm" name="password_confirm" class="ZZHT-regist-input" tabindex="3" autocomplete="off" type="password" onfocus="this.type='password'" placeholder="请再次输入密码" aria-required="true">
									</div>
								</div>
								<div class="ZZHT-login-tr">
									<div style="padding-left:180px;">
										<label>
										    <div class="ui-checkbox">
												<input id="protocol" type="checkbox" class="ZZHT_ipt" value="1" checked="checked">
												<label></label>
											</div>
											<a href="javascript:;" id="protocolInfo" onclick="showProtocol();">我已阅读并同意<span style="color:#ed5d2a;">《用户注册协议》</span></a>
										</label>
									</div>
								</div>
								<div style="height:80px;">
									<div style="padding-left:170px;">
										<input id="reg_butt" class="ZZHT-regist-but" type="submit" value="立即注册" style="width: 400px;height:40px;font-size:20px;">
									</div>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		<div id="ck3"></div>
		<script src="../js/jquery.min.js"></script>
		<script src="../js/jquery.validator.js"></script>
		<script src="../js/gVerify.js"></script>
		<script src="../js/zh-CN.js"></script>
		<!--<script type="text/javascript" src="../js/carousel.js"></script>-->
		<script type="text/javascript" src="../js/qrcode.js"></script>
		<script type="text/javascript" src="../plugin/layer/layer.js"></script>

		<script type='text/javascript' src="../js/ljf_base.js"></script>
		
		<script type='text/javascript' src="../js/common.js"></script>
		<script type='text/javascript' src="../js/common_view.js"></script>
		<script type='text/javascript' src="../js/login.js"></script>
		<script>
			if(gup('userPhone')){
				$('#checkData').val(gup('userPhone'));
				$.post(SURL+'users/checkUserInfo', {phoneOrLoginName:gup('userPhone')}, function (data, textStatus) {
		            var json = data;
		            if (json.messageCode == 200) {
		            	$('#standardShareMan').val(json.entity.loginName);
		            	inviteId = json.entity.userId;
		            } 
		        });
			}
			$(function() {
				$(".ui-checkbox").click(function(e) {
					var chk = $(this).children("input");
					var check = chk.attr("checked");
					$(".ui-checkbox").children("input").attr("checked", false);
					chk.attr("checked", check ? false : true);
				});
				initRegist();
			})
		</script>
	</body>

</html>